home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 44 / Amiga Format CD44 (1999-08-26)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-10].iso / -in_the_mag- / basics / amos / easylife110_p1.lha / Include / Easylife-Errors.i < prev    next >
Text File  |  1992-02-26  |  4KB  |  119 lines

  1. ; These are easylife internal error numbers. They are returned to AMOS as
  2. ; 16*256 + errn below
  3. ;
  4. ; They are returned from Easylife.Library in negative form in D0, if an
  5. ; error has occured. Positive error numbers from easylife.library are
  6. ; normal AMOS error numbers.
  7. ;
  8. ; NOTE: If an error has occured in Easylife.Library, the function called
  9. ;       will return with the zero bit set, and the error number in D0.
  10. ;
  11. ;======================================================================
  12. ; IMPORTANT:
  13. ;
  14. ; Before including this file, you should set ELERR_INC_MESSAGES to:
  15. ;
  16. ; 0 = Just define the error number constants
  17. ; 1 = dc.b the error message strings seperated by null bytes also.
  18. ;======================================================================
  19.  
  20.  
  21.  
  22. ;Check if these error have already been defined
  23. ;
  24. IFND ELERR_PP_NoLib
  25.  
  26. ELERR_PP_NoLib        equ    0
  27. ELERR_PP_EmptyFile    equ    1
  28. ELERR_PP_Corrupt    equ    2
  29. ELERR_PP_Encrypt1    equ    3
  30. ELERR_PP_Encrypt2    equ    4
  31. ELERR_PP_Memory        equ    5
  32. ELERR_PP_Read        equ    6
  33. ELERR_PP_Open        equ    7
  34. ELERR_PP_Overflow    equ    8
  35.  
  36. ELERR_NotMessageBank    equ    9    
  37. ELERR_ZoneTableFull    equ    10
  38. ELERR_ZoneNotDefined    equ    11
  39. ELERR_MultiNotReserved    equ    12
  40. ELERR_ProtectFailed    equ    13
  41. ELERR_DiskFontError    equ    14
  42. ELERR_FontFail        equ    15
  43. ELERR_NoOutputHandle    equ    16
  44. ELERR_NoInputHandle    equ    17
  45. ELERR_Pat_NoLib        equ    18
  46. ELERR_Pat_NoDef        equ    19
  47. ELERR_XPK        equ    20
  48. ELERR_XPK_NoLib        equ    21
  49. ELERR_UnmatchedTag    equ    22
  50. ELERR_MUI_No_Lib    equ    23
  51. ELERR_MUI_Bad_Object    equ    24    
  52. ELERR_MUI_NoTagStart    equ    25
  53.  
  54. ;Structure Commands.
  55.  
  56. ELERR_ArrayHigh        equ    30
  57. ELERR_ArrayNeg        equ    31
  58. ELERR_RangeLow        equ    32
  59. ELERR_RangeHigh        equ    33
  60. ELERR_Pointer        equ    34
  61. ELERR_String        equ    35
  62. ELERR_SubStruct        equ    36
  63. ELERR_NoStruct        equ    37
  64. ELERR_Unknown        equ    38
  65. ELERR_Copy        equ    39
  66. ELERR_InputL        equ    40
  67. ELERR_InputT        equ    41
  68.  
  69. ENDC
  70.  
  71. IFGT    ELERR_INC_MESSAGES
  72.     dc.b    "Unable To Open Powerpacker Library V35+",0
  73.     dc.b    "You can't PPLoad an empty file",0
  74.     dc.b    "Illegal powerpacker header",0
  75.     dc.b    "File encrypted - Can't decrunch",0
  76.     dc.b    "File encrypted - Can't decrunch",0
  77.     dc.b     "Out of memory while loading / decrunching file",0
  78.     dc.b    "Error reading file",0
  79.     dc.b    "Unable to open file",0
  80.     dc.b    "Crunched File LONGER than source - Aborted",0
  81.  
  82.  
  83.     dc.b    "Not a message bank",0
  84.     dc.b    "Multi Zone Table Full - No space to set new zone",0
  85.     dc.b    "Multi Zone Not Defined",0
  86.     dc.b    "No Multi Zones Reserved",0
  87.     dc.b    "Set Protection bits failed",0
  88.     dc.b    "Can't open diskfont.library",0
  89.     dc.b    "Unable to lock font",0        
  90.     dc.b    "No STDOUT file handle exists",0    
  91.     dc.b    "No STDIN file handle exists",0
  92.     dc.b    "Can't open pattern.library",0
  93.     dc.b    "No Default Pattern Defined",0
  94.     dc.b    "An Xpk Error Has Occured",0
  95.     dc.b    "Could Not Open XPK Master Library",0
  96.     dc.b    "Unmatched tag",0
  97.     dc.b    "Could Not Open MUI Master Library V8+ (MUI V2.1+)",0
  98.     dc.b    "Illegal MUI Object Address",0
  99.     dc.b    "Missing Elmui Begin Instruction",0
  100.  
  101.  
  102.     dc.b    0,0,0,0    ;26-29
  103.  
  104.     dc.b    "Array index value is too high",0
  105.     dc.b    "Array index value is negative",0
  106.     dc.b    "Value assigned is beyond lower limit of ranged integer",0
  107.     dc.b    "Value assigned is beyond upper limit of ranged integer",0
  108.     dc.b    "Value assigned points to wrong type of strucuture/no structure",0
  109.     dc.b    "String assigned is longer than maximum length of this element",0
  110.     dc.b    "Substructure addresses cannot be changed",0
  111.     dc.b    "No structures are allocated",0
  112.     dc.b    "Element/Structure not recognised",0
  113.     dc.b    "Cannot copy between structures of different types",0
  114.     dc.b    "Input string is of wrong length",0
  115.     dc.b    "Input string is of wrong type",0    
  116. ENDC
  117.  
  118.